package com.ewzj.bigdata.mvp.contract

import com.ewzj.bigdata.mvp.model.bean.JsReqcommentBean
import com.ewzj.bigdata.mvp.model.reqbean.ReqNormalCollect
import com.ewzj.bigdata.mvp.model.reqbean.ReqPraise
import com.ewzj.bigdata.mvp.model.reqbean.ReqcollectBean
import com.ewzj.bigdata.mvp.model.reqbean.Reqcomentbean
import com.ewzj.bigdata.mvp.model.rspbean.*
import com.jess.arms.mvp.IModel
import com.jess.arms.mvp.IView
import io.reactivex.Observable

/**
 * author:zhangjing
 * 作用:
 * return:
 */
class VideoWebviewActivityContract {
    interface View : IView{
        fun setHintText(content:String)
        fun showComentBar()
        fun setCollectState()
        fun refreshVideo(video:VideoBean)
    }

    interface Model: IModel{
        fun doPraise(reqPraise: ReqPraise):Observable<BaseData<String>>
        fun doComment(reqcommentBean: Reqcomentbean):Observable<BaseData<CommentBean>>
        fun doCollect(reqNormalCollect: ReqNormalCollect):Observable<BaseData<Any>>
    }
}